package org.doubango.FrCall.Screens;
//package org.douban.frcall;

import org.doubango.FrCall.R;

import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.Button;

public class ShowSearchedFriendInfo extends Activity {
	private Button applyToMakeFriend;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		ViewGroup.LayoutParams para = new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
		addContentView(LayoutInflater.from(ShowSearchedFriendInfo.this).inflate(R.layout.show_searched_friend_info, null), para);
		applyToMakeFriend = (Button) findViewById(R.id.apply_to_make_friend);
		applyToMakeFriend.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				ProgressDialog dialog = new ProgressDialog(ShowSearchedFriendInfo.this);
				dialog.setMessage("正在处理中...");
				dialog.show();
			}
		});
	}
	
}
